package com.jsyl.application.authority.impl;

import com.jsyl.application.authority.IChildApplication;
import com.jsyl.application.base.impl.BaseApplicationImpl;
import com.jsyl.dao.authority.ChildDao;
import com.jsyl.dao.base.BaseDao;
import com.jsyl.entity.authority.Child;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 
 *
 */
@Service
@Transactional(value = "defaultTm")
public class ChildApplicationImpl extends BaseApplicationImpl<Child>implements IChildApplication {

	@Autowired
	private ChildDao childDao;


	@Override
	public BaseDao<Child> getBaseDao() {
		return this.childDao;
	}


	@Override
	public List<Child> getSearchChildData(Child child) {
		return childDao.getSearchChildData(child);
	}
}
